<?php
/**
*
* 功能描述（交易控制器）
*
* @author suoya <jlusuoya@gmail.com>
* @version 1
*/

class CtrlTrade extends CtrlBase
{
	public $paramCheck = array(
		"showlist" => array(
			"page" => array("GET", "1", "intval", "positive"),
			'pageSize' => array('GET', 50, 'intval', 'positive'),
		),
	);

	public $perm = array('log', "index.php?action=login.tologin");

	function ShowList()
	{
		$obj = $this->GetModel("trade");
		$data = $obj->GetList($this->search, $this->page, null);
		$this->assign("listdata", $data);
		return RT_TPL;
	}
}

